package com.itheima.pay;

import java.util.Scanner;

public class test
{
    public static void main(String[] args) {
        Card c1=new GoldenCar("京A8888","张三","183888888",5000);
        Card c2=new SilverCard("京A88238","李三","183388888",2000);
        pay p1=new pay();
        p1.pay(c1);
    }
}
